Fix temporary error message to be clearer
authorYehuda Katz + Carl Lerche <engineering@tilde.io>
Fri, 27 Jun 2014 00:10:00 +0000 (17:10 -0700)
committerTim Carey-Smith <tim@spork.in>
Fri, 27 Jun 2014 00:10:00 +0000 (17:10 -0700)
src/cargo/core/resolver.rs

index dc81e5cb8872ae066a36a165726769d4e8e53f84..2f07aaf749314e036066ad1b991666a1c1fd6dc4 100644 (file)
@@ -39,8 +39,8 @@ pub fn resolve<R: Registry>(deps: &[Dependency],
         }
 
         if opts.len() > 1 {
-            return Err(internal("Temporarily, Cargo only supports a single \
-                                 result for a dependency"))
+            return Err(internal(format!("At the moment, Cargo only supports a\
+                single source for a particular package name ({}).", curr.get_name())));
         }
 
         let pkg = opts.get(0).clone();